<html>
<head>
<title>firstworks   Programming with Rudiments using the listener class</title>
<link href="../css/styles.css" rel="stylesheet">
</head>
<body>

<span class="heading">Programming with Rudiments using the listener class</span><br><br>

<p>Servers commonly need to listen on multiple sockets for client connections.  They can listen on multiple inet sockets, multiple unix sockets, or a combination.  Technically, they could listen on any set of file descriptors, whether they are all sockets or not.  The listener class can be used to make this possible.</p>

<img src="../images/traffic_cone.png"/>

<p>Coming soon...</p>

<blockquote class="code">

<script type='text/javascript'>
<!--

-->
</script>
<font face="monospace">
<font color="#2e8b57"><b>int</b></font>&nbsp;main(<font color="#2e8b57"><b>int</b></font>&nbsp;argc,&nbsp;<font color="#2e8b57"><b>const</b></font>&nbsp;<font color="#2e8b57"><b>char</b></font>&nbsp;**argv) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">//&nbsp;</font><span style="background-color: #ffff00"><font color="#0000ff">FIXME</font></span><font color="#0000ff">: example...</font><br>
}<br>
</font>
<!-- vim: set foldmethod=manual : -->
</blockquote>

</body>
</html>
